package com.shop.service;

import com.github.pagehelper.PageInfo;
import com.shop.entity.Buyer;
import com.shop.entity.Result;

import java.util.List;

/**
 * description: 该文件说明
 *
 * @author zhaoxiaozhao（xiaozhao.zhao@ucarinc.com）
 * @version 1.0
 * @date 2018/9/29 17:01
 **/
public interface BuyerManagerService {
    //查找出所有的买家
    public PageInfo<Buyer> getBuyerList(Integer page,Integer rows,Buyer buyer);
    //添加会员
    public Result addBuyer(Buyer buyer);
    //修改会员
    public Result modifyBuyer(Buyer buyer);
    //删除或者恢复会员
    public Result deleteOrRestoreBuyer(String buyerID);
    //通过会员id查找会员
    public Buyer findBuyerByBuyerID(String buyerID);


}
